package inutan.game.task;

import java.util.function.Consumer;

public abstract class BaseCondition<E> {

    private int taskId;

    private int progress;


    interface TaskDoneCallback<T extends BaseCondition> extends Consumer<T> {}

    public int getTaskId() {
        return taskId;
    }

    public void setTaskId(int taskId) {
        this.taskId = taskId;
    }

    public int getProgress() {
        return progress;
    }

    public void setProgress(int progress) {
        this.progress = progress;
    }
}
